package com.samuel.dao;

import com.samuel.entities.Payment;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author a neng huang
 * @since 2021-02-24 21:04
 */
@Mapper
public interface PaymentDao {

    public int create(Payment payment);

    public Payment getById(@Param("id") String id);

    List<Payment> listAll();
}
